import {http} from "@/utils/http";


//分页获取所有数据
export const getListByPageAPI=(cur,pageSize)=>{
    return http.get(
        `/purchaseRequisition/getListByPage`,{
            params:{
                cur,pageSize
            }
        }
    )
}

//获取所有数据
export const getListCountsAPI=()=>{
    return http.get(`/purchaseRequisition/getListCounts`)
}